<include file="Public/mobile_head"/>
<link rel="stylesheet" href="__STATIC__/aui/aui.min.css">
<style type="text/css">
    .banner{ width:100%; overflow:hidden; position:relative;}
    .banner ul{ position:absolute; left:0; top:0; z-index:10; -webkit-animation:}
    .banner ul li{ float:left; display:table-cell; position:relative}
    .banner li a{ width:100%; height:100%; display:block;}
    .banner li .title{background-color:RGBA(0,0,0,.5); height:30px; color:#fff; line-height:30px; padding-left:10px; position:absolute; left:0; bottom:0; width:100%; z-index:1000;}
    .identify{text-align:right; position:absolute; bottom:0; right:0; z-index:100; height:30px;}
    .identify em{ display:inline-block; margin:10px 5px;-webkit-border-radius: 6px;-moz-border-radius: 6px;
        border-radius: 6px;margin-left: 5px;width: 12px;height: 12px;background: #fff;}
    .identify em.cur{ background-color:#090}
    .small_pic_list li{ border-top:1px solid #fff; border-bottom:1px solid #ccc; overflow:hidden;padding: 0 10px}
    .small_pic_list li a{ display:block; padding:10px 10px 10px 80px; position:relative; min-height:60px; color:#333}
    .small_pic_list li a:active{ background-color:#CCC}
    .small_pic_list li a img{ position:absolute; left:10px; top:10px; width:60px; height:60px;}
    .small_pic_list li a h6{ font-size:18px; font-weight:bold; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
    .small_pic_list li a p{ color:#999; font-size:13px; line-height:22px;}
    .header{display: -webkit-box;background-color: #01ab01}
    .return{color: #FFFFFF;padding: 15px;}
    .title{text-align: center;padding-top: 10px;display: -webkit-box;-webkit-box-orient: vertical;margin: 0 auto}
    .login{color: #ffffff;font-size: 18px;margin-left: -60px;}
    .aui-bar-success{background-color: #2d4b9b}
    .aui-btn-success{background-color: #2d4b9b}
    p{color: #4A4A4A;font-size: 14px;}
    h6{color: #000000;font-size: 18px}
    .beacuse{border: 1px solid #A7A7A7;padding: 5px}
    .small_pic_list li a.edit{
        position: relative;
        top: -140px;
        right: -900px;
        padding: 0;
        min-height: auto;
        color: #eb7c15;
        display: block;
        font-size: 0px;
        height: 0;
    }
    a.edit i{
        font-size: 30px;
    }
</style>
<script>
    function link(url){
        if(url){
            window.location.href = url;
        }
    }
</script>
<body id="weisite">
<div class="container">
    <header class="aui-bar aui-bar-nav aui-bar-success" id="aui-header">
        <a class="aui-btn aui-btn-success aui-pull-left" href="{:addons_url('UserCenter://UserCenter/userCenter')}" id="back">
            <span class="aui-iconfont aui-icon-back"></span>
        </a>
        <div class="aui-title">{$meate_title}</div>
        <a class="aui-iconfont aui-icon-menu aui-pull-right"></a>
    </header>
    <ul class="small_pic_list">
        <volist name="list_data" id="vo">
            <li>
                <h6>{$vo.name}</h6>
                <p>项目地址：{$vo.address}</p>
                <p>开发商：{$vo.developer}</p>
                <p>建筑面积：{$vo.area}</p>
                <p>需求冷量：{$vo.amount}</p>
                <switch name="vo['status']">
                    <case value="0">
                        <p class="beacuse">未通过原因：{$vo.because|default='暂无'}</p>
                    </case>
                    <case value="4">
                        <p class="beacuse">未签约原因：{$vo.because|default='暂无'}</p>
                    </case>
                </switch>
                <span class="colorless">{$vo.create_time|time_format}</span>
                <if condition="(NOW_TIME - $vo['create_time']) elt 1800">
                    <a class="edit" href="{:U('editProject',['id'=>$vo['id']])}" style="height: 0px" title="编辑"><i class="aui-iconfont aui-icon-edit"></i></a>
                </if>
            </li>
        </volist>
    </ul>
    <!-- 分页 -->
    <div class="page"> {$_page|default=''} </div>
</div>
<script>
$(function(){
    $('.edit').css('left', ($('.small_pic_list').width() - 45) + 'px');
})
</script>
</body>
</html>